#include <stdio.h>
void double_arr(int arr[][5], int n);
void show_arr(int arr[][5], int n);
int main(void)
{
    int arr [3][5] = {
        {11, 22, 33, 44, 55},
        {22, 33, 44, 55, 66},
        {33, 44, 55, 66, 77},
    };

    show_arr(arr, 3);
    double_arr(arr, 3);
    show_arr(arr, 3);
    
    return 0;
}

void double_arr(int arr[][5], int n)
{
    int i, j;

    for (i = 0; i < n; i++)
        for (j = 0; j < 5; j++)
            arr[i][j] += arr[i][j];
}

void show_arr(int arr[][5], int n)
{
    int i, j;

    for (i = 0; i < n; i++)
    {
        for (j = 0; j < 5; j++)
            printf("%d ", arr[i][j]);
        putchar('\n');
    }
    putchar('\n');
}